package com.heima.common.exception.com.heima.common.util;

import com.heima.model.common.user.ApUser;

public class UserThreadLocal {

    public static final ThreadLocal<Object> USER_THREAD_LOCAL=new ThreadLocal<>();

    private static Object get(){
       return USER_THREAD_LOCAL.get();
    }
    private static void set(Object object){
        USER_THREAD_LOCAL.set(object);
    }
    private static void remove(){
        USER_THREAD_LOCAL.remove();
    }

}
